#ifndef __HEADERPARAMETERS__
#define __HEADERPARAMETERS__ 1

#include <string>

using std::string;

class HeaderParameters {

public:

  HeaderParameters(string fname, int channels);
  ~HeaderParameters();


  enum { kVperADC, kVOffset, kBytesPerPoint, kPointsPerTrace, kADCzero, kSecPerTDC, kTracesPerFrame };
  
  float GetParameter(int channel, int n) { return par[channel][n]; };
  void PrintParameters();

//  float time_per_div; //in seconds
//  int num_traces;

private:
	int my_channels;
  string filename;
  string parnames[2][8];
  float par[2][8];


};

#endif
